package com.bage.finance.biz.service.impl;

import com.bage.finance.biz.domain.MemberBindPhone;
import com.bage.finance.biz.mapper.MemberBindPhoneMapper;
import com.bage.finance.biz.service.MemberBindPhoneService;
import com.bage.mybatis.help.MyBatisWrapper;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
@RequiredArgsConstructor
public class MemberBindPhoneServiceImpl implements MemberBindPhoneService {

    final MemberBindPhoneMapper memberBindPhoneMapper;

    @Override
    public MemberBindPhone getMemberByPhone(String phone) {
        return memberBindPhoneMapper.getByPhone(phone);
    }
}
